export enum ApiType {
    get = 'get',
    post = 'post',
}

export enum SexType {
    male = '男',
    female = '女'
}

export type Api = {
    [key: string]: {
        url: string,
        type: ApiType,
        data?: string,
        params?: string
    }
}

export type MenuItem = {
    index: string,
    href: string,
    title: string,
    svg?: string
}

export type Admin = {
    username: string,
    password: string,
    rememberMe: boolean
}

export type List = {
    pageSize: number,
    pageNum: number,
    isAsc: string,
    name: string,
    brand: string,
    energyType: string
}